package gao.xiaolei.dao;

import gao.xiaolei.entity.GradeRule;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository("GradeRuleDao")
public interface GradeRuleDao extends JpaRepository<GradeRule,String> {

    public GradeRule findByToProject(String toProject);

    public void deleteAllByToProject(String toProject);
}
